<?php
//20.0.56.2 IHM/Champ/Calendrier/StyleJourCalendrier.php GF 
//VersionVI: 30F200067s
//(c) 2005-2012 PC SOFT  - Release
 if (!defined('__INC__FMK/Compat/xsystem.php')) { define('__INC__FMK/Compat/xsystem.php',true); include_once(WB_INCLUDE_PATH.'WD14183cc5dbbd843da831afdd3bf106e4.php'); } if (!defined('__INC__IHM/Champ/CadreLibelle.php')) { define('__INC__IHM/Champ/CadreLibelle.php',true); include_once(WB_INCLUDE_PATH.'WDca2e54604ad98e6dc625c0642acf03cf.php'); } if (!defined('__INC__FMK/Dessin/Couleur.php')) { define('__INC__FMK/Dessin/Couleur.php',true); include_once(WB_INCLUDE_PATH.'WD2521e084cbaf10ef8d5f4ede4dc6baa2.php'); } class CStyleJourCalendrier extends CCadreLibelle { var $m_nSurcharge; function CStyleJourCalendrier ( &$piContextePolice) { parent::CCadreLibelle($piContextePolice); $this->m_nSurcharge = nSURCHARGESTYLE_AUCUNE; $this->m_clLibelle->m_Police->SetCouleur(F89c1612f()); $this->m_clFond = F89c1612f(); } function F51ce639f( $nSurcharge, $bActif = null) { if (isset($bActif)) { $this->F3b5fc3e9($nSurcharge,$bActif); } else { $this->F414e7e3f($nSurcharge); } } function F414e7e3f( $nSurcharge) { F27efdc07($nSurcharge, (nSURCHARGESTYLE_COULEURFOND | nSURCHARGESTYLE_COULEURTEXTE)); $this->m_nSurcharge = $nSurcharge; } function F3b5fc3e9( $nSurcharge, $bActif) { F27efdc07($nSurcharge, (nSURCHARGESTYLE_COULEURFOND | nSURCHARGESTYLE_COULEURTEXTE)); Ffe2e63ad($this->m_nSurcharge, $nSurcharge, $bActif); } function F64634d8a() { $nSurcharge = $this->m_nSurcharge; Ffe2e63ad($nSurcharge, nSURCHARGESTYLE_COULEURFOND, $this->m_clFond->Fd061cc94() && !$this->m_clFond->F38db1168() ); $clCouleur=$this->m_clLibelle->Fc330466c(); Ffe2e63ad($nSurcharge, nSURCHARGESTYLE_COULEURTEXTE, $clCouleur->Fd061cc94() && !$clCouleur->F38db1168()); return $nSurcharge; } function F070e952b( $nSurcharge) { return ($this->m_nSurcharge & $nSurcharge) != 0; } } function& F34d35b49(&$pclStyleJourOriginal, &$pclModele ) { if ($pclModele === null) return null; $pclNewStyle = _clone($pclStyleJourOriginal); return $pclNewStyle; } function& F4322d50a(&$pclStyleJourA, &$clStyleJourB, &$pclChamp) { $nSurcharge = $clStyleJourB->F64634d8a(); if ($nSurcharge === nSURCHARGESTYLE_AUCUNE) { return $pclStyleJourA; } $pclNewStyle = _clone($pclStyleJourA); if ($nSurcharge & nSURCHARGESTYLE_POLICENOM) { $pclNewStyle->m_clLibelle->m_Police->m_sNom = $clStyleJourB->m_clLibelle->m_Police->m_sNom; } if ($nSurcharge & nSURCHARGESTYLE_POLICEGRAS) { $pclNewStyle->m_clLibelle->m_Police->m_bGras = $clStyleJourB->m_clLibelle->m_Police->m_bGras; } if ($nSurcharge & nSURCHARGESTYLE_POLICEITALIQUE) { $pclNewStyle->m_clLibelle->m_Police->m_bItalique = $clStyleJourB->m_clLibelle->m_Police->m_bItalique; } if ($nSurcharge & nSURCHARGESTYLE_POLICESOULIGNE) { $pclNewStyle->m_clLibelle->m_Police->m_bSouligne = $clStyleJourB->m_clLibelle->m_Police->m_bSouligne; } if ($nSurcharge & nSURCHARGESTYLE_POLICEBARRE) { $pclNewStyle->m_clLibelle->m_Police->m_bBarree = $clStyleJourB->m_clLibelle->m_Police->m_bBarree; } if ($nSurcharge & nSURCHARGESTYLE_POLICETAILLE) { $pclNewStyle->m_clLibelle->m_Police->m_nTaille = $clStyleJourB->m_clLibelle->m_Police->m_nTaille; } if ($nSurcharge & nSURCHARGESTYLE_TYPECADRE) { $sCssSauve = $pclNewStyle->m_czNomClassCSS; $clCoulFondSauve = _clone($pclNewStyle->m_clFond); F13f7f45b($pclNewStyle,F4ba412d0($clStyleJourB,'CCadre')); $pclNewStyle->m_clFond =& $clCoulFondSauve; $pclNewStyle->m_czNomClassCSS = $sCssSauve; } if ($nSurcharge & nSURCHARGESTYLE_COULEURFOND) { $pclNewStyle->m_clFond = _clone($clStyleJourB->m_clFond); $pclNewStyle->m_clLibelle->m_clCouleurFond = _clone( $clStyleJourB->m_clFond ); } if ($nSurcharge & nSURCHARGESTYLE_COULEURTEXTE) { $pclNewStyle->F140ec365($clStyleJourB->F1034101c()); } if ($nSurcharge & nSURCHARGESTYLE_HALIGN) { $pclNewStyle->F704d6a80( $pclNewStyle->F31f5beee(), $clStyleJourB->Fd96630e3() ); if ($nSurcharge & nSURCHARGESTYLE_VALIGN) { $pclNewStyle->F704d6a80( $clStyleJourB->F31f5beee(), $pclNewStyle->Fd96630e3() ); } } $pclNewStyle->F06d5dcab($clStyleJourB); return $pclNewStyle; } ?>