labelcfg.cxx (efeef26f) | labelcfg.cxx (737f4475) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 97 unchanged lines hidden (view full) --- 106 case 1 : pNewRec->lHDist = MM100_TO_TWIP(nVal);break; 107 case 2 : pNewRec->lVDist = MM100_TO_TWIP(nVal);break; 108 case 3 : pNewRec->lWidth = MM100_TO_TWIP(nVal);break; 109 case 4 : pNewRec->lHeight = MM100_TO_TWIP(nVal); break; 110 case 5 : pNewRec->lLeft = MM100_TO_TWIP(nVal);break; 111 case 6 : pNewRec->lUpper = MM100_TO_TWIP(nVal);break; 112 case 7 : pNewRec->nCols = nVal; break; 113 case 8 : pNewRec->nRows = nVal; break; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 97 unchanged lines hidden (view full) --- 106 case 1 : pNewRec->lHDist = MM100_TO_TWIP(nVal);break; 107 case 2 : pNewRec->lVDist = MM100_TO_TWIP(nVal);break; 108 case 3 : pNewRec->lWidth = MM100_TO_TWIP(nVal);break; 109 case 4 : pNewRec->lHeight = MM100_TO_TWIP(nVal); break; 110 case 5 : pNewRec->lLeft = MM100_TO_TWIP(nVal);break; 111 case 6 : pNewRec->lUpper = MM100_TO_TWIP(nVal);break; 112 case 7 : pNewRec->nCols = nVal; break; 113 case 8 : pNewRec->nRows = nVal; break; |
114 case 9 : pNewRec->lPaperWidth = MM100_TO_TWIP(nVal);break; 115 case 10: pNewRec->lPaperHeight = MM100_TO_TWIP(nVal);break; |
|
114 } 115 } 116 } 117 break; 118 } 119 } 120 } 121 return pNewRec; --- 19 unchanged lines hidden (view full) --- 141 sTmp += C2U( rRec.bCont ? "C" : "S"); sTmp += sColon; 142 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHDist) ); sTmp += sColon; 143 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lVDist)); sTmp += sColon; 144 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lWidth) ); sTmp += sColon; 145 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHeight) ); sTmp += sColon; 146 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lLeft) ); sTmp += sColon; 147 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lUpper) ); sTmp += sColon; 148 sTmp += OUString::valueOf(rRec.nCols );sTmp += sColon; | 116 } 117 } 118 } 119 break; 120 } 121 } 122 } 123 return pNewRec; --- 19 unchanged lines hidden (view full) --- 143 sTmp += C2U( rRec.bCont ? "C" : "S"); sTmp += sColon; 144 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHDist) ); sTmp += sColon; 145 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lVDist)); sTmp += sColon; 146 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lWidth) ); sTmp += sColon; 147 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHeight) ); sTmp += sColon; 148 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lLeft) ); sTmp += sColon; 149 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lUpper) ); sTmp += sColon; 150 sTmp += OUString::valueOf(rRec.nCols );sTmp += sColon; |
149 sTmp += OUString::valueOf(rRec.nRows ); | 151 sTmp += OUString::valueOf(rRec.nRows );sTmp += sColon; 152 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lPaperWidth));sTmp += sColon; 153 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lPaperHeight)); |
150 pValues[nProp].Value <<= sTmp; 151 } 152 break; 153 } 154 } 155 return aRet; 156} 157//----------------------------------------------------------------------------- --- 141 unchanged lines hidden --- | 154 pValues[nProp].Value <<= sTmp; 155 } 156 break; 157 } 158 } 159 return aRet; 160} 161//----------------------------------------------------------------------------- --- 141 unchanged lines hidden --- |