diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2015-02-26 00:27:02 -0500 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2015-03-01 04:00:41 +0000 |
commit | 797c48f0f74501def9f47444538c0e110fcfcca1 (patch) | |
tree | 91f8450d397d5b6096195b36f9dbe9f22465f2cf /svx/source/tbxctrls/PaletteManager.cxx | |
parent | e3e95f97638ff4d2c230cbc1f560a148863fb7a5 (diff) |
tdf#84002 Add support for .ase color palettes
CMYK, RGB, and gray color models are supported. LAB colors
are replaced by just black since the conversion to RGB is
very complicated.
Change-Id: I689e6ce972cd7b7f03725f99be4761dea4a81743
Reviewed-on: https://gerrit.libreoffice.org/14661
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source/tbxctrls/PaletteManager.cxx')
-rw-r--r-- | svx/source/tbxctrls/PaletteManager.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 8d0a21147fe5..ac8e03d11507 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -67,6 +67,8 @@ void PaletteManager::LoadPalettes() pPalette = new PaletteGPL( aFileStat.getFileURL(), aFName ); else if( aFName.endsWithIgnoreAsciiCase(".soc") ) pPalette = new PaletteSOC( aFileStat.getFileURL(), aFName ); + else if ( aFName.endsWithIgnoreAsciiCase(".ase") ) + pPalette = new PaletteASE( aFileStat.getFileURL(), aFName ); if( pPalette && pPalette->IsValid() ) maPalettes.push_back( pPalette ); |