formenums.cxx (63bba73c) | formenums.cxx (b6dc695e) |
---|---|
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 --- 306 unchanged lines hidden (view full) --- 315 rReturn = aImageAlignMap; 316 } 317 break; 318 319 case epImageScaleMode: 320 { 321 static const SvXMLEnumMapEntry aScaleModeMap[] = 322 { | 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 --- 306 unchanged lines hidden (view full) --- 315 rReturn = aImageAlignMap; 316 } 317 break; 318 319 case epImageScaleMode: 320 { 321 static const SvXMLEnumMapEntry aScaleModeMap[] = 322 { |
323 { XML_BACKGROUND_NO_REPEAT, ImageScaleMode::None }, 324 { XML_REPEAT, ImageScaleMode::None }, // repeating the image is not supported 325 { XML_STRETCH, ImageScaleMode::Anisotropic }, 326 { XML_SCALE, ImageScaleMode::Isotropic }, 327 { XML_TOKEN_INVALID, ImageScaleMode::None } | 323 { XML_BACKGROUND_NO_REPEAT, ImageScaleMode::NONE }, 324 { XML_REPEAT, ImageScaleMode::NONE }, // repeating the image is not supported 325 { XML_STRETCH, ImageScaleMode::ANISOTROPIC }, 326 { XML_SCALE, ImageScaleMode::ISOTROPIC }, 327 { XML_TOKEN_INVALID, ImageScaleMode::NONE } |
328 }; 329 rReturn = aScaleModeMap; 330 } 331 break; 332 333 case KNOWN_ENUM_PROPERTIES: 334 break; 335 } 336 } 337 338 return rReturn; 339 } 340 341//......................................................................... 342} // namespace xmloff 343//......................................................................... 344 | 328 }; 329 rReturn = aScaleModeMap; 330 } 331 break; 332 333 case KNOWN_ENUM_PROPERTIES: 334 break; 335 } 336 } 337 338 return rReturn; 339 } 340 341//......................................................................... 342} // namespace xmloff 343//......................................................................... 344 |