layouts/aknlayout2/DecodeLib/AknLayout2ScalableDecode.cpp
changeset 0 05e9090e2422
child 38 a10f447f38bd
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "AknLayout2ScalableDecode.h"
       
    20 #include <CdlEngine.h>
       
    21 
       
    22 // These functions are supplied as a library linked into LayoutInst.dll. They are
       
    23 // called by the specialised access functions for each instance. It is more efficient,
       
    24 // in terms of ROM, to use these functions to call the decode functions in AknLayout2.dll
       
    25 // than it is to call another DLL from the specialised functions.
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 
       
    31 //
       
    32 // WindowLineZZZ
       
    33 //
       
    34 
       
    35 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLine(const SCompDataImplData* aImplData)
       
    36 	{
       
    37 	TAknWindowComponentLayoutImp line;
       
    38 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData);
       
    39 	return line;
       
    40 	}
       
    41 
       
    42 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineV(const SCompDataImplData* aImplData, TInt aVariety)
       
    43 	{
       
    44 	TAknWindowComponentLayoutImp line;
       
    45 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, 0, 0);
       
    46 	return line;
       
    47 	}
       
    48 
       
    49 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineC(const SCompDataImplData* aImplData, TInt aColumn)
       
    50 	{
       
    51 	TAknWindowComponentLayoutImp line;
       
    52 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, 0, aColumn, 0);
       
    53 	return line;
       
    54 	}
       
    55 
       
    56 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineR(const SCompDataImplData* aImplData, TInt aRow)
       
    57 	{
       
    58 	TAknWindowComponentLayoutImp line;
       
    59 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, 0, 0, aRow);
       
    60 	return line;
       
    61 	}
       
    62 
       
    63 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineCR(const SCompDataImplData* aImplData, TInt aColumn, TInt aRow)
       
    64 	{
       
    65 	TAknWindowComponentLayoutImp line;
       
    66 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, 0, aColumn, aRow);
       
    67 	return line;
       
    68 	}
       
    69 
       
    70 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineRC(const SCompDataImplData* aImplData, TInt aRow, TInt aColumn)
       
    71 	{
       
    72 	TAknWindowComponentLayoutImp line;
       
    73 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, 0, aColumn, aRow); // switched order!
       
    74 	return line;
       
    75 	}
       
    76 
       
    77 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineVR(const SCompDataImplData* aImplData, TInt aVariety, TInt aRow)
       
    78 	{
       
    79 	TAknWindowComponentLayoutImp line;
       
    80 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, 0, aRow);
       
    81 	return line;
       
    82 	}
       
    83 
       
    84 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineRV(const SCompDataImplData* aImplData, TInt aRow, TInt aVariety)
       
    85 	{
       
    86 	TAknWindowComponentLayoutImp line;
       
    87 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, 0, aRow); // switched order!
       
    88 	return line;
       
    89 	}
       
    90 
       
    91 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineCV(const SCompDataImplData* aImplData, TInt aColumn, TInt aVariety)
       
    92 	{
       
    93 	TAknWindowComponentLayoutImp line;
       
    94 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, 0); // switched order!
       
    95 	return line;
       
    96 	}
       
    97 
       
    98 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineVC(const SCompDataImplData* aImplData, TInt aVariety, TInt aColumn)
       
    99 	{
       
   100 	TAknWindowComponentLayoutImp line;
       
   101 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, 0);
       
   102 	return line;
       
   103 	}
       
   104 
       
   105 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineVCR(const SCompDataImplData* aImplData, TInt aVariety, TInt aColumn, TInt aRow)
       
   106 	{
       
   107 	TAknWindowComponentLayoutImp line;
       
   108 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, aRow);
       
   109 	return line;
       
   110 	}
       
   111 
       
   112 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineVRC(const SCompDataImplData* aImplData, TInt aVariety, TInt aRow, TInt aColumn)
       
   113 	{
       
   114 	TAknWindowComponentLayoutImp line;
       
   115 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   116 	return line;
       
   117 	}
       
   118 
       
   119 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineCVR(const SCompDataImplData* aImplData, TInt aColumn, TInt aVariety, TInt aRow)
       
   120 	{
       
   121 	TAknWindowComponentLayoutImp line;
       
   122 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   123 	return line;
       
   124 	}
       
   125 
       
   126 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineCRV(const SCompDataImplData* aImplData, TInt aColumn, TInt aRow, TInt aVariety)
       
   127 	{
       
   128 	TAknWindowComponentLayoutImp line;
       
   129 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   130 	return line;
       
   131 	}
       
   132 
       
   133 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineRCV(const SCompDataImplData* aImplData, TInt aRow, TInt aColumn, TInt aVariety)
       
   134 	{
       
   135 	TAknWindowComponentLayoutImp line;
       
   136 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   137 	return line;
       
   138 	}
       
   139 
       
   140 TAknWindowComponentLayout AknLayoutScalableDecode::WindowLineRVC(const SCompDataImplData* aImplData, TInt aRow, TInt aVariety, TInt aColumn)
       
   141 	{
       
   142 	TAknWindowComponentLayoutImp line;
       
   143 	AknLayoutScalableDecodeSupport::WindowLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   144 	return line;
       
   145 	}
       
   146 
       
   147 
       
   148 //
       
   149 // TextLineZZZ
       
   150 //
       
   151 
       
   152 TAknTextComponentLayout AknLayoutScalableDecode::TextLine(const SCompDataImplData* aImplData)
       
   153 	{
       
   154 	TAknTextComponentLayoutImp line;
       
   155 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData);
       
   156 	return line;
       
   157 	}
       
   158 
       
   159 TAknTextComponentLayout AknLayoutScalableDecode::TextLineV(const SCompDataImplData* aImplData, TInt aVariety)
       
   160 	{
       
   161 	TAknTextComponentLayoutImp line;
       
   162 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, 0, 0);
       
   163 	return line;
       
   164 	}
       
   165 
       
   166 TAknTextComponentLayout AknLayoutScalableDecode::TextLineC(const SCompDataImplData* aImplData, TInt aColumn)
       
   167 	{
       
   168 	TAknTextComponentLayoutImp line;
       
   169 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, 0, aColumn, 0);
       
   170 	return line;
       
   171 	}
       
   172 
       
   173 TAknTextComponentLayout AknLayoutScalableDecode::TextLineR(const SCompDataImplData* aImplData, TInt aRow)
       
   174 	{
       
   175 	TAknTextComponentLayoutImp line;
       
   176 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, 0, 0, aRow);
       
   177 	return line;
       
   178 	}
       
   179 
       
   180 TAknTextComponentLayout AknLayoutScalableDecode::TextLineCR(const SCompDataImplData* aImplData, TInt aColumn, TInt aRow)
       
   181 	{
       
   182 	TAknTextComponentLayoutImp line;
       
   183 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, 0, aColumn, aRow);
       
   184 	return line;
       
   185 	}
       
   186 
       
   187 TAknTextComponentLayout AknLayoutScalableDecode::TextLineRC(const SCompDataImplData* aImplData, TInt aRow, TInt aColumn)
       
   188 	{
       
   189 	TAknTextComponentLayoutImp line;
       
   190 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, 0, aColumn, aRow); // switched order!
       
   191 	return line;
       
   192 	}
       
   193 
       
   194 TAknTextComponentLayout AknLayoutScalableDecode::TextLineVR(const SCompDataImplData* aImplData, TInt aVariety, TInt aRow)
       
   195 	{
       
   196 	TAknTextComponentLayoutImp line;
       
   197 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, 0, aRow);
       
   198 	return line;
       
   199 	}
       
   200 
       
   201 TAknTextComponentLayout AknLayoutScalableDecode::TextLineRV(const SCompDataImplData* aImplData, TInt aRow, TInt aVariety)
       
   202 	{
       
   203 	TAknTextComponentLayoutImp line;
       
   204 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, 0, aRow); // switched order!
       
   205 	return line;
       
   206 	}
       
   207 
       
   208 TAknTextComponentLayout AknLayoutScalableDecode::TextLineCV(const SCompDataImplData* aImplData, TInt aColumn, TInt aVariety)
       
   209 	{
       
   210 	TAknTextComponentLayoutImp line;
       
   211 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, 0); // switched order!
       
   212 	return line;
       
   213 	}
       
   214 
       
   215 TAknTextComponentLayout AknLayoutScalableDecode::TextLineVC(const SCompDataImplData* aImplData, TInt aVariety, TInt aColumn)
       
   216 	{
       
   217 	TAknTextComponentLayoutImp line;
       
   218 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, 0);
       
   219 	return line;
       
   220 	}
       
   221 
       
   222 TAknTextComponentLayout AknLayoutScalableDecode::TextLineVCR(const SCompDataImplData* aImplData, TInt aVariety, TInt aColumn, TInt aRow)
       
   223 	{
       
   224 	TAknTextComponentLayoutImp line;
       
   225 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, aRow);
       
   226 	return line;
       
   227 	}
       
   228 
       
   229 TAknTextComponentLayout AknLayoutScalableDecode::TextLineVRC(const SCompDataImplData* aImplData, TInt aVariety, TInt aRow, TInt aColumn)
       
   230 	{
       
   231 	TAknTextComponentLayoutImp line;
       
   232 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   233 	return line;
       
   234 	}
       
   235 
       
   236 TAknTextComponentLayout AknLayoutScalableDecode::TextLineCVR(const SCompDataImplData* aImplData, TInt aColumn, TInt aVariety, TInt aRow)
       
   237 	{
       
   238 	TAknTextComponentLayoutImp line;
       
   239 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   240 	return line;
       
   241 	}
       
   242 
       
   243 TAknTextComponentLayout AknLayoutScalableDecode::TextLineCRV(const SCompDataImplData* aImplData, TInt aColumn, TInt aRow, TInt aVariety)
       
   244 	{
       
   245 	TAknTextComponentLayoutImp line;
       
   246 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   247 	return line;
       
   248 	}
       
   249 
       
   250 TAknTextComponentLayout AknLayoutScalableDecode::TextLineRCV(const SCompDataImplData* aImplData, TInt aRow, TInt aColumn, TInt aVariety)
       
   251 	{
       
   252 	TAknTextComponentLayoutImp line;
       
   253 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   254 	return line;
       
   255 	}
       
   256 
       
   257 TAknTextComponentLayout AknLayoutScalableDecode::TextLineRVC(const SCompDataImplData* aImplData, TInt aRow, TInt aVariety, TInt aColumn)
       
   258 	{
       
   259 	TAknTextComponentLayoutImp line;
       
   260 	AknLayoutScalableDecodeSupport::TextLine(line, aImplData, aVariety, aColumn, aRow); // switched order!
       
   261 	return line;
       
   262 	}
       
   263 
       
   264 
       
   265 //
       
   266 // WindowTableZZZ
       
   267 //
       
   268 
       
   269 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableL(const SCompDataImplData* aImplData, TInt aLineIndex)
       
   270 	{
       
   271 	TAknWindowComponentLayoutImp line;
       
   272 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex);
       
   273 	return line;
       
   274 	}
       
   275 
       
   276 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety)
       
   277 	{
       
   278 	TAknWindowComponentLayoutImp line;
       
   279 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, 0, 0);
       
   280 	return line;
       
   281 	}
       
   282 
       
   283 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn)
       
   284 	{
       
   285 	TAknWindowComponentLayoutImp line;
       
   286 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, 0, aColumn, 0);
       
   287 	return line;
       
   288 	}
       
   289 
       
   290 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow)
       
   291 	{
       
   292 	TAknWindowComponentLayoutImp line;
       
   293 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, 0, 0, aRow);
       
   294 	return line;
       
   295 	}
       
   296 
       
   297 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLCR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aRow)
       
   298 	{
       
   299 	TAknWindowComponentLayoutImp line;
       
   300 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, 0, aColumn, aRow);
       
   301 	return line;
       
   302 	}
       
   303 
       
   304 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLRC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aColumn)
       
   305 	{
       
   306 	TAknWindowComponentLayoutImp line;
       
   307 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, 0, aColumn, aRow); // switched order!
       
   308 	return line;
       
   309 	}
       
   310 
       
   311 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLVR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aRow)
       
   312 	{
       
   313 	TAknWindowComponentLayoutImp line;
       
   314 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, 0, aRow);
       
   315 	return line;
       
   316 	}
       
   317 
       
   318 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLRV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aVariety)
       
   319 	{
       
   320 	TAknWindowComponentLayoutImp line;
       
   321 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, 0, aRow); // switched order!
       
   322 	return line;
       
   323 	}
       
   324 
       
   325 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLCV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aVariety)
       
   326 	{
       
   327 	TAknWindowComponentLayoutImp line;
       
   328 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, 0); // switched order!
       
   329 	return line;
       
   330 	}
       
   331 
       
   332 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLVC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aColumn)
       
   333 	{
       
   334 	TAknWindowComponentLayoutImp line;
       
   335 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, 0);
       
   336 	return line;
       
   337 	}
       
   338 
       
   339 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLVCR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aColumn, TInt aRow)
       
   340 	{
       
   341 	TAknWindowComponentLayoutImp line;
       
   342 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow);
       
   343 	return line;
       
   344 	}
       
   345 
       
   346 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLVRC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aRow, TInt aColumn)
       
   347 	{
       
   348 	TAknWindowComponentLayoutImp line;
       
   349 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   350 	return line;
       
   351 	}
       
   352 
       
   353 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLCVR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aVariety, TInt aRow)
       
   354 	{
       
   355 	TAknWindowComponentLayoutImp line;
       
   356 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   357 	return line;
       
   358 	}
       
   359 
       
   360 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLCRV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aRow, TInt aVariety)
       
   361 	{
       
   362 	TAknWindowComponentLayoutImp line;
       
   363 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   364 	return line;
       
   365 	}
       
   366 
       
   367 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLRCV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aColumn, TInt aVariety)
       
   368 	{
       
   369 	TAknWindowComponentLayoutImp line;
       
   370 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   371 	return line;
       
   372 	}
       
   373 
       
   374 TAknWindowComponentLayout AknLayoutScalableDecode::WindowTableLRVC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aVariety, TInt aColumn)
       
   375 	{
       
   376 	TAknWindowComponentLayoutImp line;
       
   377 	AknLayoutScalableDecodeSupport::WindowTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   378 	return line;
       
   379 	}
       
   380 
       
   381 
       
   382 //
       
   383 //TextTableZZZ
       
   384 //
       
   385 
       
   386 TAknTextComponentLayout AknLayoutScalableDecode::TextTableL(const SCompDataImplData* aImplData, TInt aLineIndex)
       
   387 	{
       
   388 	TAknTextComponentLayoutImp line;
       
   389 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex);
       
   390 	return line;
       
   391 	}
       
   392 
       
   393 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety)
       
   394 	{
       
   395 	TAknTextComponentLayoutImp line;
       
   396 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, 0, 0);
       
   397 	return line;
       
   398 	}
       
   399 
       
   400 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn)
       
   401 	{
       
   402 	TAknTextComponentLayoutImp line;
       
   403 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, 0, aColumn, 0);
       
   404 	return line;
       
   405 	}
       
   406 
       
   407 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow)
       
   408 	{
       
   409 	TAknTextComponentLayoutImp line;
       
   410 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, 0, 0, aRow);
       
   411 	return line;
       
   412 	}
       
   413 
       
   414 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLCR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aRow)
       
   415 	{
       
   416 	TAknTextComponentLayoutImp line;
       
   417 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, 0, aColumn, aRow);
       
   418 	return line;
       
   419 	}
       
   420 
       
   421 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLRC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aColumn)
       
   422 	{
       
   423 	TAknTextComponentLayoutImp line;
       
   424 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, 0, aColumn, aRow); // switched order!
       
   425 	return line;
       
   426 	}
       
   427 
       
   428 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLVR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aRow)
       
   429 	{
       
   430 	TAknTextComponentLayoutImp line;
       
   431 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, 0, aRow);
       
   432 	return line;
       
   433 	}
       
   434 
       
   435 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLRV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aVariety)
       
   436 	{
       
   437 	TAknTextComponentLayoutImp line;
       
   438 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, 0, aRow); // switched order!
       
   439 	return line;
       
   440 	}
       
   441 
       
   442 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLCV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aVariety)
       
   443 	{
       
   444 	TAknTextComponentLayoutImp line;
       
   445 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, 0); // switched order!
       
   446 	return line;
       
   447 	}
       
   448 
       
   449 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLVC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aColumn)
       
   450 	{
       
   451 	TAknTextComponentLayoutImp line;
       
   452 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, 0);
       
   453 	return line;
       
   454 	}
       
   455 
       
   456 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLVCR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aColumn, TInt aRow)
       
   457 	{
       
   458 	TAknTextComponentLayoutImp line;
       
   459 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow);
       
   460 	return line;
       
   461 	}
       
   462 
       
   463 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLVRC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety, TInt aRow, TInt aColumn)
       
   464 	{
       
   465 	TAknTextComponentLayoutImp line;
       
   466 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   467 	return line;
       
   468 	}
       
   469 
       
   470 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLCVR(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aVariety, TInt aRow)
       
   471 	{
       
   472 	TAknTextComponentLayoutImp line;
       
   473 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   474 	return line;
       
   475 	}
       
   476 
       
   477 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLCRV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aColumn, TInt aRow, TInt aVariety)
       
   478 	{
       
   479 	TAknTextComponentLayoutImp line;
       
   480 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   481 	return line;
       
   482 	}
       
   483 
       
   484 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLRCV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aColumn, TInt aVariety)
       
   485 	{
       
   486 	TAknTextComponentLayoutImp line;
       
   487 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   488 	return line;
       
   489 	}
       
   490 
       
   491 TAknTextComponentLayout AknLayoutScalableDecode::TextTableLRVC(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aRow, TInt aVariety, TInt aColumn)
       
   492 	{
       
   493 	TAknTextComponentLayoutImp line;
       
   494 	AknLayoutScalableDecodeSupport::TextTable(line, aImplData, aLineIndex, aVariety, aColumn, aRow); // switched order!
       
   495 	return line;
       
   496 	}
       
   497 
       
   498 
       
   499 
       
   500 
       
   501 //
       
   502 // TableLimits
       
   503 //
       
   504 
       
   505 TAknLayoutScalableTableLimits AknLayoutScalableDecode::TableLimits(const TUint16* aDataLookup)
       
   506 	{
       
   507 	return AknLayoutScalableDecodeSupport::TableLimits(aDataLookup);
       
   508 	}
       
   509 
       
   510 //
       
   511 // ParamLimits
       
   512 //
       
   513 
       
   514 TAknLayoutScalableParameterLimits AknLayoutScalableDecode::ParameterLimits(const SCompDataImplData* aImplData)
       
   515 	{
       
   516 	TAknLayoutScalableParameterLimitsImp limits;
       
   517 	AknLayoutScalableDecodeSupport::ParameterLimits(limits, aImplData, 0);
       
   518 	return limits;
       
   519 	}
       
   520 
       
   521 TAknLayoutScalableParameterLimits AknLayoutScalableDecode::ParameterLimitsV(const SCompDataImplData* aImplData, TInt aVariety)
       
   522 	{
       
   523 	TAknLayoutScalableParameterLimitsImp limits;
       
   524 	AknLayoutScalableDecodeSupport::ParameterLimits(limits, aImplData, aVariety);
       
   525 	return limits;
       
   526 	}
       
   527 
       
   528 TAknLayoutScalableParameterLimits AknLayoutScalableDecode::ParameterLimitsTableL(const SCompDataImplData* aImplData, TInt aLineIndex)
       
   529 	{
       
   530 	TAknLayoutScalableParameterLimitsImp limits;
       
   531 	AknLayoutScalableDecodeSupport::ParameterLimitsTable(limits, aImplData, aLineIndex, 0);
       
   532 	return limits;
       
   533 	}
       
   534 
       
   535 TAknLayoutScalableParameterLimits AknLayoutScalableDecode::ParameterLimitsTableLV(const SCompDataImplData* aImplData, TInt aLineIndex, TInt aVariety)
       
   536 	{
       
   537 	TAknLayoutScalableParameterLimitsImp limits;
       
   538 	AknLayoutScalableDecodeSupport::ParameterLimitsTable(limits, aImplData, aLineIndex, aVariety);
       
   539 	return limits;
       
   540 	}
       
   541 
       
   542 TAknLayoutScalableComponentType AknLayoutScalableDecode::GetComponentTypeById(const SCompDataImplData* aImplData, TInt aComponentId)
       
   543 	{
       
   544 	TAknLayoutScalableComponentType type;
       
   545 	AknLayoutScalableDecodeSupport::GetComponentTypeById(type, aImplData, aComponentId);
       
   546 	return type;
       
   547 	}
       
   548 
       
   549 TAknLayoutScalableParameterLimits AknLayoutScalableDecode::GetParamLimitsById(const SCompDataImplData* aImplData, TInt aComponentId, TInt aVariety)
       
   550 	{
       
   551 	TAknLayoutScalableParameterLimitsImp limits;
       
   552 	AknLayoutScalableDecodeSupport::GetParamLimitsById(limits, aImplData, aComponentId, aVariety);
       
   553 	return limits;
       
   554 	}
       
   555 
       
   556 TAknWindowComponentLayout AknLayoutScalableDecode::GetWindowComponentById(const SCompDataImplData* aImplData, TInt aComponentId, TInt aVariety, TInt aCol, TInt aRow)
       
   557 	{
       
   558 	TAknWindowComponentLayoutImp layout;
       
   559 	AknLayoutScalableDecodeSupport::GetWindowComponentById(layout, aImplData, aComponentId, aVariety, aCol, aRow);
       
   560 	return layout;
       
   561 	}
       
   562 
       
   563 TAknTextComponentLayout AknLayoutScalableDecode::GetTextComponentById(const SCompDataImplData* aImplData, TInt aComponentId, TInt aVariety, TInt aCol, TInt aRow)
       
   564 	{
       
   565 	TAknTextComponentLayoutImp layout;
       
   566 	AknLayoutScalableDecodeSupport::GetTextComponentById(layout, aImplData, aComponentId, aVariety, aCol, aRow);
       
   567 	return layout;
       
   568 	}
       
   569